Skip to content

fix: Replace compromised action with semantic-release and implement in-house script - #2340

Open
Ayaz-Microsoft wants to merge 12 commits into
Azure-Samples:devfrom
Ayaz-Microsoft:dev
Open

fix: Replace compromised action with semantic-release and implement in-house script#2340
Ayaz-Microsoft wants to merge 12 commits into
Azure-Samples:devfrom
Ayaz-Microsoft:dev

Conversation

@Ayaz-Microsoft

Copy link
Copy Markdown
Contributor

Purpose

Replace semantic release with inhouse code and implemented CodeQL fixes on top of that.

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

Ayaz-Microsoft and others added 11 commits June 29, 2026 17:29
Use npx semantic-release pinned to v22 with conventionalcommits preset 7, configured via .releaserc.json. Removes third-party action attack surface while preserving release behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ation

Adds a manually-triggered (workflow_dispatch) Test-Release workflow and a
guarded DRY_RUN mode in release.sh so the in-house release script can be
validated on a fork without publishing a release. Remove the temporary
workflow after validation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 932a7437-8fa0-469e-9faf-045fab35f3a0
Validation complete; removing the temporary workflow_dispatch workflow.
The guarded DRY_RUN mode remains in release.sh for future manual checks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 932a7437-8fa0-469e-9faf-045fab35f3a0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 60db667d-ec84-4390-a8bb-dd0e790680a4
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 60db667d-ec84-4390-a8bb-dd0e790680a4
# Conflicts:
#	docs/RELEASE_GUIDELINES.md
# Conflicts:
#	.github/workflows/create-release.yml
# Conflicts:
#	.github/workflows/create-release.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant